Optimal Exact and Fast Approximate Two Dimensional Pattern Matching Allowing Rotations

نویسندگان

  • Kimmo Fredriksson
  • Gonzalo Navarro
  • Esko Ukkonen
چکیده

We give fast filtering algorithms to search for a 2– dimensional pattern in a 2–dimensional text allowing any rotation of the pattern. We consider the cases of exact and approximate matching under several matching models, improving the previous results. For a text of size n× n characters and a pattern of size m×m characters, the exact matching takes average time O(n log m/m), which is optimal. If we allow k mismatches of characters, then our best algorithm achieves O(nk log m/m) average time, for reasonable k values. For large k, we obtain an O(nk √ log m/m) average time algorithm. We generalize the algorithms for the matching model where the sum of absolute differences between characters is at most k. Finally, we show how to make the algorithms optimal in the worst case, achieving the lower bound Ω(nm).

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Exact and Approximate Two Dimensional Pattern Matching allowing Rotations

We give fast ltering algorithms for searching a 2{dimensional pattern in a 2{dimensional text allowing any rotation of the pattern. We consider the cases of exact and approximate matching under several matching models, improving the previous results. For a text of size n n character and a pattern of size m m characters, the exact matching takes average time O(n 2 =m). If we allow k{mismatches o...

متن کامل

Sequential and indexed two-dimensional combinatorial template matching allowing rotations

We present new and faster algorithms to search for a 2-dimensional pattern in a 2-dimensional text allowing any rotation of the pattern. This has applications such as image databases and computational biology. We consider the cases of exact and approximate matching under several matching models, using a combinatorial approach that generalizes string matching techniques. We focus on sequential a...

متن کامل

Fast Filters for Two Dimensional String Matching Allowing Rotations

We give faster algorithms for searching a 2-dimensional pattern in a 2-dimensional text allowing rotations, mismatches and/or insertion/deletion errors.

متن کامل

Combinatorial methods for approximate image matching under translations and rotations

Given two{dimensional images T1::n; 1::n] and P1::m; 1::m] where m < n, we develop a fast rotation invariant ltration algorithm for nding the locations of approximate occurrences of P in T. In such an occurrence, each pixel of T should match the corresponding intervals of pixels deened by P. Our lter works by extracting linear sequences of intervals , called features, from P, and by searching t...

متن کامل

Rotation and Lighting Invariant Template Matching

We address the problem of searching for a two-dimensional pattern in a two-dimensional text (or image), such that the pattern can be found even if it appears rotated and brighter or darker than its occurrence. Furthermore, we consider approximate matching under several tolerance models. We obtain algorithms that are almost worst-case optimal. The complexities we obtain are very close to the bes...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2002